import { locations } from "../../../../gpu/locations";
export const Trans_def = /*wgsl*/ `
struct Trans {
  modelMat:mat4x4<f32>,    
  normalMat:mat4x4<f32>,      
};
#if ~{def.trans}
@group(${locations.trans[0]}) @binding(${locations.trans[1]}) var<uniform> trans : Trans;
#endif
#if ~{def.transinstance}
@group(${locations.transinstance[0]}) @binding(${locations.transinstance[1]})  var<storage,read> trans:array<Trans>;
#endif`